package com.cz.video.website.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cz.video.website.domain.WebsiteCollectFolder;
import com.cz.video.website.domain.bo.WebsiteCollectFolderBo;
import com.cz.video.website.domain.vo.WebsiteCollectFolderVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 收藏夹表 Mapper 接口
 * </p>
 *
 * @author yr
 * @since 2023-10-16
 */
public interface WebsiteCollectFolderMapper extends BaseMapper<WebsiteCollectFolder> {

    Page<WebsiteCollectFolderVo> selectPageCollectFolderList(@Param("page") Page<WebsiteCollectFolder> page,
                                                             @Param(Constants.WRAPPER) Wrapper<WebsiteCollectFolder> queryWrapper,
                                                             @Param("websiteCollectFolder") WebsiteCollectFolderBo websiteCollectFolder,
                                                             @Param("userId") Long userId);
}
